responses = {}

# 设置一个标志，指出调查是否继续
polling_active = True

while polling_active:

    name = input("\nWhat's your name? ")
    response = input("Which mountain would you like to climb someday? ")

    # 将答案添加到字典中
    responses[name] = response

    repeat = input("Would you like to let another person respond? (yes/no) ")
    if repeat == 'no':
        polling_active = False

print("\n--- Poll Results ---")
for name, response in responses.items():
    print(name + " would like to climb " + response + ".")